package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type Banks struct {
	Id     int    `json:"id" gorm:"primaryKey;autoIncrement"` //int(10) NOT NULL,
	Name   string `json:"name" gorm:"name"`
	Status int    `json:"status" gorm:"status"` //银行状态0为关闭，1为开启
}

func (Banks) TableName() string {
	return fmt.Sprintf("%sbanks", models.Prefix)
}
